﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Model;
using NHibernate.Linq;

namespace NHibernate.DAL
{
    public class TemporaryContext : DataContext
    {
        public TemporaryContext() : base("Temporary.cfg.xml") { }

        public IQueryable<Traning_Lecturer> Traning_Lecturer
        {
            get
            {
                return Session.Query<Traning_Lecturer>();
            }
        }
    }
}
